package dnuifood_cjy.dnuifood_16110100529.service;


import dnuifood_cjy.dnuifood_16110100529.bean.CollectStatus;
import dnuifood_cjy.dnuifood_16110100529.bean.FoodInfo;
import dnuifood_cjy.dnuifood_16110100529.bean.ResultBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface FoodService {
    @GET("getFoodById.do")
    Call<FoodInfo> getFoodById(

            @Query("food_id") String food_id

    );


    @GET("isCollected.do")
    Call<CollectStatus>isCollected(
            @Query("user_id") String user_id,
            @Query("shop_food_id") String shop_food_id,
            @Query("flag") String flag

    );
    @GET("userCollectFood.do")
    Call<ResultBean>userCollectFood(
            @Query("user_id") String user_id,
            @Query("food_id") String food_id
    );

}
